<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>mutex: xmutex_hw.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">mutex
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xmutex__hw_8h.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">xmutex_hw.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gac521c86ba5c4f2bad8f73e515897a766"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mutex__v4__0.html#gac521c86ba5c4f2bad8f73e515897a766">XMutex_ReadReg</a>(BaseAddress,  MutexNumber,  RegOffset)&#160;&#160;&#160;Xil_In32((BaseAddress) + XMutex_Offset(MutexNumber) + (RegOffset))</td></tr>
<tr class="memdesc:gac521c86ba5c4f2bad8f73e515897a766"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read one of the Mutex registers.  <a href="group__mutex__v4__0.html#gac521c86ba5c4f2bad8f73e515897a766">More...</a><br /></td></tr>
<tr class="separator:gac521c86ba5c4f2bad8f73e515897a766"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga33160589a1793006209e4e259ca7de35"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mutex__v4__0.html#ga33160589a1793006209e4e259ca7de35">XMutex_WriteReg</a>(BaseAddress,  MutexNumber,  RegOffset,  ValueToWrite)</td></tr>
<tr class="memdesc:ga33160589a1793006209e4e259ca7de35"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write a specified value to a register of a Mutex.  <a href="group__mutex__v4__0.html#ga33160589a1793006209e4e259ca7de35">More...</a><br /></td></tr>
<tr class="separator:ga33160589a1793006209e4e259ca7de35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Register Offset Definitions</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>Register offsets within a Mutex, there are multiple Mutexes within a single device </p>
</div></td></tr>
<tr class="memitem:gac717e990a2cbe85f19525c46aefc84b6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mutex__v4__0.html#gac717e990a2cbe85f19525c46aefc84b6">XMU_MUTEX_REG_OFFSET</a>&#160;&#160;&#160;0</td></tr>
<tr class="memdesc:gac717e990a2cbe85f19525c46aefc84b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Mutex register.  <a href="group__mutex__v4__0.html#gac717e990a2cbe85f19525c46aefc84b6">More...</a><br /></td></tr>
<tr class="separator:gac717e990a2cbe85f19525c46aefc84b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7317a6291745987d25c994702005fff2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mutex__v4__0.html#ga7317a6291745987d25c994702005fff2">XMU_USER_REG_OFFSET</a>&#160;&#160;&#160;4</td></tr>
<tr class="memdesc:ga7317a6291745987d25c994702005fff2"><td class="mdescLeft">&#160;</td><td class="mdescRight">User register.  <a href="group__mutex__v4__0.html#ga7317a6291745987d25c994702005fff2">More...</a><br /></td></tr>
<tr class="separator:ga7317a6291745987d25c994702005fff2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Mutex Register Bit Definitions</div></td></tr>
<tr class="memitem:ga086991b467a934c97022a305bb957977"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mutex__v4__0.html#ga086991b467a934c97022a305bb957977">LOCKED_BIT</a>&#160;&#160;&#160;0x00000001</td></tr>
<tr class="memdesc:ga086991b467a934c97022a305bb957977"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is the Lock bit.  <a href="group__mutex__v4__0.html#ga086991b467a934c97022a305bb957977">More...</a><br /></td></tr>
<tr class="separator:ga086991b467a934c97022a305bb957977"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga97587665957065c60155f02edb2d195d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mutex__v4__0.html#ga97587665957065c60155f02edb2d195d">OWNER_MASK</a>&#160;&#160;&#160;0x000001FE</td></tr>
<tr class="memdesc:ga97587665957065c60155f02edb2d195d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is CPU_ID Mask.  <a href="group__mutex__v4__0.html#ga97587665957065c60155f02edb2d195d">More...</a><br /></td></tr>
<tr class="separator:ga97587665957065c60155f02edb2d195d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad3725eb84e9d09431334eecbcf66bcd1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mutex__v4__0.html#gad3725eb84e9d09431334eecbcf66bcd1">OWNER_SHIFT</a>&#160;&#160;&#160;0x00000001</td></tr>
<tr class="memdesc:gad3725eb84e9d09431334eecbcf66bcd1"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is CPU_ID Shift.  <a href="group__mutex__v4__0.html#gad3725eb84e9d09431334eecbcf66bcd1">More...</a><br /></td></tr>
<tr class="separator:gad3725eb84e9d09431334eecbcf66bcd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
